package com.donger.business.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.donger.business.upms.entity.SysDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xyx
 * @since 2019-01-12
 */
@Mapper
public interface SysDictMapper extends BaseMapper<SysDict> {

    String queryTableDictTextByKey(@Param("table") String table, @Param("text") String text, @Param("code") String code, @Param("key") String key);

    String queryDictTextByKey(@Param("code") String code, @Param("key") String key);

}
